using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    [Table("bank_银行开户表", "bank__kai_hu_biao", "id")]
    [Serializable]
    public class BankKaiHuBiaoModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 开户行名称
        /// </summary>
        [StringType("kai_hu_hang_ming_cheng", "开户行名称", 20, 100)]
        [DisplayName("开户行名称")]
        public string KaiHuHangMingCheng { get; set; }

        /// <summary>
        /// 开户行地址
        /// </summary>
        [StringType("kai_hu_hang_di_zhi", "开户行地址", 22, 100)]
        [DisplayName("开户行地址")]
        public string KaiHuHangDiZhi { get; set; }

        /// <summary>
        /// 开户账号
        /// </summary>
        [StringType("kai_hu_zhang_hao", "开户账号", 24, 100)]
        [DisplayName("开户账号")]
        public string KaiHuZhangHao { get; set; }

        /// <summary>
        /// 开户名称
        /// </summary>
        [StringType("kai_hu_ming_cheng", "开户名称", 26, 100)]
        [DisplayName("开户名称")]
        public string KaiHuMingCheng { get; set; }

        /// <summary>
        /// 开户行联系电话
        /// </summary>
        [StringType("kai_hu_hang_lian_xi_dian_hua", "开户行联系电话", 28, 100)]
        [DisplayName("开户行联系电话")]
        public string KaiHuHangLianXiDianHua { get; set; }

        /// <summary>
        /// 账户类型
        /// </summary>
        [StringType("zhang_hu_lei_xing", "账户类型", 30, 100)]
        [DisplayName("账户类型")]
        public string ZhangHuLeiXing { get; set; }

        /// <summary>
        /// 账户余额
        /// </summary>
        [NumericType("zhang_hu_yu_e", "账户余额", 32, 10, 3)]
        [DisplayName("账户余额")]
        public decimal ZhangHuYuE { get; set; }

        public BankKaiHuBiaoModel()
        { }

    }
}
